﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004E9 RID: 1257
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildTakeExpRewardScRsp : IMessage<EvolveBuildTakeExpRewardScRsp>, IMessage, IEquatable<EvolveBuildTakeExpRewardScRsp>, IDeepCloneable<EvolveBuildTakeExpRewardScRsp>, IBufferMessage
	{
		// Token: 0x17001046 RID: 4166
		// (get) Token: 0x060038DB RID: 14555 RVA: 0x0009C873 File Offset: 0x0009AA73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildTakeExpRewardScRsp> Parser
		{
			get
			{
				return EvolveBuildTakeExpRewardScRsp._parser;
			}
		}

		// Token: 0x17001047 RID: 4167
		// (get) Token: 0x060038DC RID: 14556 RVA: 0x0009C87A File Offset: 0x0009AA7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildTakeExpRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001048 RID: 4168
		// (get) Token: 0x060038DD RID: 14557 RVA: 0x0009C88C File Offset: 0x0009AA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildTakeExpRewardScRsp.Descriptor;
			}
		}

		// Token: 0x060038DE RID: 14558 RVA: 0x0009C893 File Offset: 0x0009AA93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildTakeExpRewardScRsp()
		{
		}

		// Token: 0x060038DF RID: 14559 RVA: 0x0009C89C File Offset: 0x0009AA9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildTakeExpRewardScRsp(EvolveBuildTakeExpRewardScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.hEMENIBJABH_ = other.hEMENIBJABH_;
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060038E0 RID: 14560 RVA: 0x0009C8F4 File Offset: 0x0009AAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildTakeExpRewardScRsp Clone()
		{
			return new EvolveBuildTakeExpRewardScRsp(this);
		}

		// Token: 0x17001049 RID: 4169
		// (get) Token: 0x060038E1 RID: 14561 RVA: 0x0009C8FC File Offset: 0x0009AAFC
		// (set) Token: 0x060038E2 RID: 14562 RVA: 0x0009C904 File Offset: 0x0009AB04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700104A RID: 4170
		// (get) Token: 0x060038E3 RID: 14563 RVA: 0x0009C90D File Offset: 0x0009AB0D
		// (set) Token: 0x060038E4 RID: 14564 RVA: 0x0009C915 File Offset: 0x0009AB15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HEMENIBJABH
		{
			get
			{
				return this.hEMENIBJABH_;
			}
			set
			{
				this.hEMENIBJABH_ = value;
			}
		}

		// Token: 0x1700104B RID: 4171
		// (get) Token: 0x060038E5 RID: 14565 RVA: 0x0009C91E File Offset: 0x0009AB1E
		// (set) Token: 0x060038E6 RID: 14566 RVA: 0x0009C926 File Offset: 0x0009AB26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x060038E7 RID: 14567 RVA: 0x0009C92F File Offset: 0x0009AB2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildTakeExpRewardScRsp);
		}

		// Token: 0x060038E8 RID: 14568 RVA: 0x0009C940 File Offset: 0x0009AB40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildTakeExpRewardScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.HEMENIBJABH == other.HEMENIBJABH && object.Equals(this.Reward, other.Reward) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060038E9 RID: 14569 RVA: 0x0009C9A0 File Offset: 0x0009ABA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.HEMENIBJABH != 0U)
			{
				num ^= this.HEMENIBJABH.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060038EA RID: 14570 RVA: 0x0009CA0E File Offset: 0x0009AC0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060038EB RID: 14571 RVA: 0x0009CA16 File Offset: 0x0009AC16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060038EC RID: 14572 RVA: 0x0009CA20 File Offset: 0x0009AC20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.reward_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.Reward);
			}
			if (this.HEMENIBJABH != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.HEMENIBJABH);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060038ED RID: 14573 RVA: 0x0009CA98 File Offset: 0x0009AC98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.HEMENIBJABH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HEMENIBJABH);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060038EE RID: 14574 RVA: 0x0009CB08 File Offset: 0x0009AD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildTakeExpRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.HEMENIBJABH != 0U)
			{
				this.HEMENIBJABH = other.HEMENIBJABH;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060038EF RID: 14575 RVA: 0x0009CB84 File Offset: 0x0009AD84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060038F0 RID: 14576 RVA: 0x0009CB90 File Offset: 0x0009AD90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					if (num != 80U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.HEMENIBJABH = input.ReadUInt32();
					}
				}
				else
				{
					if (this.reward_ == null)
					{
						this.Reward = new ItemList();
					}
					input.ReadMessage(this.Reward);
				}
			}
		}

		// Token: 0x0400165C RID: 5724
		private static readonly MessageParser<EvolveBuildTakeExpRewardScRsp> _parser = new MessageParser<EvolveBuildTakeExpRewardScRsp>(() => new EvolveBuildTakeExpRewardScRsp());

		// Token: 0x0400165D RID: 5725
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400165E RID: 5726
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400165F RID: 5727
		private uint retcode_;

		// Token: 0x04001660 RID: 5728
		public const int HEMENIBJABHFieldNumber = 10;

		// Token: 0x04001661 RID: 5729
		private uint hEMENIBJABH_;

		// Token: 0x04001662 RID: 5730
		public const int RewardFieldNumber = 7;

		// Token: 0x04001663 RID: 5731
		private ItemList reward_;
	}
}
